package com.sundaying.gooway.dao;

import java.util.List;
import com.sundaying.gooway.entity.TopClass;

public interface TopClassDao {
	public int save(TopClass obj);

	public int update(TopClass obj);

	public int delete(TopClass obj);

	public TopClass load(int id);

	public List<TopClass> list();

	public List<TopClass> list(String hsql, List<Object> param);

	public List<TopClass> list(String hsql, List<Object> param, int page,
			int rows);

	public long count(String hql, List<Object> param);

}